Thực đơn
Con trỏ rỗng Tham khảoNULL
to represent the zero pointer. Because of C++'s tighter type checking, the use of plain 0, rather than any suggested NULL
macro, leads to fewer problems. If you feel you must define NULL
. useconst int NULL = 0;
const
qualifier (§5.4) prevents accidental redefinition of NULL
and ensures that NULL
can be used where a constant is required. Thực đơn
Con trỏ rỗng Tham khảoLiên quan
Con Convair B-36 Peacemaker Con đường ảo mộng Conatus Constantinus Đại đế Consolidated B-24 Liberator Concorde Con lắc CONCACAF Container đa phương thứcTài liệu tham khảo
WikiPedia: Con trỏ rỗng http://developer.apple.com/library/mac/#documentat... http://www.infoq.com/presentations/Null-References... http://qconlondon.com/london-2009/presentation/Nul... http://blog.llvm.org/2011/05/what-every-c-programm... http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1... https://docs.oracle.com/javase/10/docs/api/java/la...